<h3 class="f14 mb5">优惠信息</h3>
{if $result_list}
<script type="text/javascript">
	jQuery(function(){
		$("#ul-store-xianjin .pages a").click(function(){
			var url = $(this).attr("href");
			$.ajax({
				url:url,
				dataType:"text",
				cache:false,
				success:function(result){
					$("#ul-store-xianjin").html(result);
				}
			});
			return false;
		});
		
	});
</script>
<div class="res_xj_box">
<div class="xj_content">
	{foreach from=$result_list key=key item=ditem name=ditem}
	<div class="xj_item clearfix">
		<a href="{$ditem.url}" title="{$ditem.name}" class="f_l"><img src="{function name="get_spec_image" v=$ditem.img w=142 h=116 g=1}"  alt="{$ditem.name}"/></a>
		<div class="xj_inner f_l">
			<a href="{$ditem.url}" class="xj_name" title="{$ditem.name}">{function name="msubstr" v=$ditem.name b=0 e=65}</a>
			<ul class="clearfix">
				<li>原价：{$ditem.format_origin_price}元现金券</li>
				<li>现仅售：<strong class="red">{$ditem.format_current_price}</strong></li>
				<li>折扣：<strong class="red">{$ditem.discount}</strong></>折</li>
			</ul>
			<div class="clearfix"><a class="xj_button f_l" href="{$ditem.url}"></a><span class="d_buy f_l">已团：{$ditem.buy_count}张</span></div>
		</div>
	</div>
	{if !$smarty.foreach.ditem.last}
	<i class="xj_border"></i>
	{/if}	
	{/foreach}
</div>
<div class="blank"></div>
<div class="pages">{$pages}</div>
</div>
{/if}